﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class NhanVienDTO
    {
        #region #variable
        private string _MaNV;
        private string _HoTen;
        private DateTime _NgaySinh;
        private string _CMND;
        private string _GioiTinh;
        private string _DiaChi;
        private string _MaChucVu;
        private int _MaTinhTrang;
        #endregion

        #region #properties
            public string MaNV
            {
                get { return _MaNV; }
                set { _MaNV = value; }
            }


            public string HoTen
            {
                get { return _HoTen; }
                set { _HoTen = value; }
            }

            public DateTime NgaySinh
            {
                get { return _NgaySinh; }
                set { _NgaySinh = value; }
            }
            public string CMND
            {
                get { return _CMND; }
                set { _CMND = value; }
            }

            public string GioiTinh
            {
                get { return _GioiTinh; }
                set { _GioiTinh = value; }
            }

            public string MaChucVu
            {
                get { return _MaChucVu; }
                set { _MaChucVu = value; }
            }

            public string DiaChi
            {
                get { return _DiaChi; }
                set { _DiaChi = value; }
            }

            public int MaTinhTrang
            {
                get { return _MaTinhTrang; }
                set { _MaTinhTrang = value; }
            }
        #endregion

        #region #methods
            public NhanVienDTO(string manv, string hoten, DateTime ngaysinh, string cmnd, string gioitinh, string diachi, string machucvu, int matinhtrang)
            {
                MaNV = manv;
                HoTen = hoten;
                NgaySinh = ngaysinh;
                CMND = cmnd;
                GioiTinh = gioitinh;
                DiaChi = diachi;
                MaChucVu = machucvu;
                MaTinhTrang = matinhtrang;
            }
        #endregion
    }
}
